// 以下是业务服务器API地址
// 本机开发API地址
// var WxApiRoot = 'http://172.16.10.178:8889/minicodeapi/';
// 测试环境部署api地址
var WxApiRoot = 'https://www.yuqianyun.com/minicodeapi/';

module.exports = {
  HomeIndex: WxApiRoot + 'home/index', //首页数据接口(√)
  HomeGoodsList: WxApiRoot + 'home/goods', //首页数据接口(√)

  WeixinLoginByWeixin: WxApiRoot + 'member/login_by_weixin', //微信登录(√)
  AuthLoginByAccount: WxApiRoot + 'member/accountlogin', //账号登录(√)
  MyAccountbangding: WxApiRoot + 'member/accountbangding', //账号绑定(√)
  AuthBindPhone: WxApiRoot + 'member/bindPhone', //解析微信敏感数据手机号(√)
  GetSessionkey: WxApiRoot + 'member/getSessionkey', //获取微信用户sessionkey(√)
  Mywanshanmember: WxApiRoot + 'member/wanshanmemberinfo', //解析微信敏感数据手机号(√)
  AuthReset: WxApiRoot + 'auth/reset', //账号密码重置
  AuthRegisterCaptcha: WxApiRoot + 'auth/regCaptcha', //验证码

  GoodsFenlei: WxApiRoot + 'fenlei/list', //获得分类数据(√)
  GoodsFenleiCurrent: WxApiRoot + 'fenlei/currentlist', //分类目录当前分类数据接口(√)
  GoodsFenleiDetail: WxApiRoot + 'fenlei/fenleidetai', //获得分类数据(√)
  GoodsTwoFenleiList: WxApiRoot + 'fenlei/twofenleilist', //获得分类数据(√)
  GoodsDetail: WxApiRoot + 'goods/detail', //获得商品的详情(√)
  GoodsTuijian: WxApiRoot + 'goods/goodstuijian', //商品详情页的关联商品（大家都在看）(√)
  GoodsCount: WxApiRoot + 'goods/count', //统计商品总数(√)

  CreateQcodeImg: WxApiRoot + 'qcode/buildcode', //创建分享海报(√)
  ShibieQcodeImg: WxApiRoot + 'fenxiang/shibiecode', //识别分享二维码(√)
  Yemianfenxiang: WxApiRoot + 'fenxiang/yemianfenxiang', //通过页面分享进入(√)

  ShoppingCartList: WxApiRoot + 'shoppingcart/index', //获取购物车的数据(√)
  ShoppingCartAdd: WxApiRoot + 'shoppingcart/add', // 添加商品到购物车(√)
  ShoppingCartBuyAdd: WxApiRoot + 'shoppingcart/buyadd', // 立即购买商品(√)
  ShoppingCartUpdate: WxApiRoot + 'shoppingcart/update', // 更新购物车的商品(√)
  ShoppingCartDelete: WxApiRoot + 'shoppingcart/delete', // 删除购物车的商品(√)
  ShoppingCartChecked: WxApiRoot + 'shoppingcart/checked', // 选择或取消选择商品(√)
  ShoppingCartGoodsNum: WxApiRoot + 'shoppingcart/getshoppingcartgoodsnum', // 获取购物车商品件数(√)

  ShoucangList: WxApiRoot + 'shoucang/list', //收藏列表(√)
  ShouCangAddOrDelete: WxApiRoot + 'shoucang/addordelete', //添加或取消收藏(√)

  SpecialshowList: WxApiRoot + 'specialshow/list', //专题列表(√)
  SpecialshowDetail: WxApiRoot + 'specialshow/detail', //专场活动详情(√)
  SpecialshowRelated: WxApiRoot + 'specialshow/related', //相关专场活动(√)

  SearchTiaojian: WxApiRoot + 'search/searchtiaojian', //默认搜索关键字(√)
  SearchGoodsList: WxApiRoot + 'search/searchgoods', //获得商品搜索列表(√)
  SearchClearHistory: WxApiRoot + 'search/clearsearchhistory', //搜索历史清除(√)

  MemberAddressList: WxApiRoot + 'memberaddress/list', //收货地址列表(√)
  MemberAddressDetail: WxApiRoot + 'memberaddress/detail', //收货地址详情(√)
  MemberAddressSave: WxApiRoot + 'memberaddress/save', //保存收货地址(√)
  MemberAddressDelete: WxApiRoot + 'memberaddress/delete', //保存收货地址(√)
  MemberInfo: WxApiRoot + 'member/getmemberinfo', //获取会员信息(√)
  MendianList: WxApiRoot + 'mendian/list', //店铺门店地址列表(√)
  MendianTel: WxApiRoot + 'mendian/getmendiantel', // 门店联系电话(√)

  Order: WxApiRoot + 'order/myorder', // 下单前信息确认(√)
  OrderAddressOrCoupon: WxApiRoot + 'order/addressOrCoupon', // 下单前信息确认(√)
  OrderSubmit: WxApiRoot + 'order/submit', // 提交订单(√)
  MyOrderList: WxApiRoot + 'ucenter/order/list', //个人中心订单列表(√)
  MyOrderDetail: WxApiRoot + 'ucenter/order/detail', //个人中心订单详情(√)
  MyOrderRefundList: WxApiRoot + 'ucenter/orderrefund/list', //个人中心退换订单列表(√)
  ExpressTrace: WxApiRoot + 'ucenter/order/expressTrace', //订单物流(√)
  OrderCancel: WxApiRoot + 'ucenter/order/cancel', //取消订单(√)
  OrderPrepay: WxApiRoot + 'wechat/wechatpay', // 订单的预支付会话(√)
  OrderPaysuccess: WxApiRoot + 'order/paysuccess', // 订单支付成功(√)
  OrderRefund: WxApiRoot + 'ucenter/orderrefund/refund', //退款取消订单(√)
  OrderTuihuanhuo: WxApiRoot + 'ucenter/orderrefund/tuihuanhuo', //订单退换货申请(√)
  OrderConfirm: WxApiRoot + 'ucenter/order/confirm', //确认收货(√)

  FileUpload: WxApiRoot + 'upload/ossuploadpic', //图片上传(√)
  Commentfankui: WxApiRoot + 'commentfankui/add', //添加意见反馈(√)
  UserFormIdCreate: WxApiRoot + 'formid/create', //用户FromId，用于发送模版消息

  MarketingOrder: WxApiRoot + 'marketing/order/myorder', // 下单前信息确认(√)
  MarketingOrderAddress: WxApiRoot + 'marketing/order/address', // 下单地址(√)
  MarketingOrderSubmit: WxApiRoot + 'marketing/order/submit', // 提交订单(√)
  MarketingShoppingCartBuyAdd: WxApiRoot + 'marketing/shoppingcart/buyadd', // 立即购买商品(√)
  GroupbuyingList: WxApiRoot + 'marketing/groupbuying/list', //团购列表(√)
  GroupbuyingGoodsDetail: WxApiRoot + 'marketing/groupbuying/goodsdetail', //团购商品的详情(√)
  PintuanList: WxApiRoot + 'marketing/pintuan/list', //拼团列表(√) 
  MyPintuanList: WxApiRoot + 'ucenter/mypintuan/list', //个人中心中的我的拼团(√) 
  PintuanGoodsDetail: WxApiRoot + 'marketing/pintuan/goodsdetail', //拼团商品的详情(√)
  PintuanTuanzhangPintuan: WxApiRoot + 'marketing/pintuan/tuanzhangpintuan', // 检查开团信息(√)
  SeckillList: WxApiRoot + 'marketing/seckill/list', //秒杀列表(√)
  SeckillGoodsDetail: WxApiRoot + 'marketing/seckill/goodsdetail', //秒杀商品的详情(√)
  BargainList: WxApiRoot + 'marketing/bargain/list', //砍价列表(√) 
  MyBargainList: WxApiRoot + 'ucenter/mybargain/list', //个人中心中的我的砍价(√) 
  BargainDetail: WxApiRoot + 'marketing/bargain/detail', //砍价详情(√)
  Bargaincheckandadd: WxApiRoot + 'marketing/bargain/checkandadd', //检查是否符合砍价条件(√)
  Bargainbangkanyidao: WxApiRoot + 'marketing/bargain/bangkanyidao', //帮砍一刀(√)
  Bargainxinxi: WxApiRoot + 'marketing/bargain/myselfkanjixinxi', //判断自己是否已经砍过价(√)
  Bargainsharememkanjixinxi: WxApiRoot + 'marketing/bargain/sharememkanjixinxi', //通过邀请砍价进入查询分享人的砍价信息(√)
  Jifenduihuan: WxApiRoot + 'marketing/shangcheng/jifenduihuan', //积分商城列表(√) 
  Jifenduihuancoupon: WxApiRoot + 'marketing/shangcheng/jifenduihuancoupon', //积分商城兑换优惠券(√) 
  MyduihuanOrder: WxApiRoot + 'ucenter/duihuanorder/list', //个人中心中的积分兑换列表(√) 
  Myjifenwaterlist: WxApiRoot + 'ucenter/jifenwater/list', //个人中心中的积分明细(√) 

  CouponLingquList: WxApiRoot + 'coupon/linqulist', //优惠券列表(√)
  CouponMyList: WxApiRoot + 'coupon/mylist', //我的优惠券列表(√)
  CouponSelectList: WxApiRoot + 'coupon/selectlist', //当前订单可用优惠券列表(√)
  CouponLingqu: WxApiRoot + 'coupon/linqu', //优惠券领取(√)

  MemberCenter: WxApiRoot + 'membercenter/index', //个人页面用户相关信息(√)
  NoticeDetail: WxApiRoot + 'notice/detail', //公告详情(√)

  GoFenxiaozhongxin: WxApiRoot + 'fenxiao/fenxiaozhongxin/fenxiaozhongxin', //获取分销商信息判断是否进入分销中心(√) 
  Fenxiaozhongxinshenqing: WxApiRoot + 'fenxiao/fenxiaoshangshenqing/shenqing', //分销中心分销商申请(√) 
  Getshangjifenxiaoshang: WxApiRoot + 'fenxiao/fenxiaoshangshenqing/getshangjifenxiaoshang', //获取上级分销商(√) 
  Fenxiaozhongxininfo: WxApiRoot + 'fenxiao/fenxiaozhongxin/getfenxiaoshang', //分销中心(√) 
  Fenxiaoyongjintixian: WxApiRoot + 'fenxiao/yongjintixian/shenqing', //佣金提现申请(√) 
  Getfenxiaoorder: WxApiRoot + 'fenxiao/fenxiaoorder/getfenxiaoorder', //分销订单(√) 
  Getfenxiaoyongjin: WxApiRoot + 'fenxiao/fenxiaoyongjin/yongjin', //分销佣金(√) 
  Fenxiaoyongjinmingxi: WxApiRoot + 'fenxiao/yongjintixian/mingxi', //佣金提现明细(√) 
  Myfenxiaoshang: WxApiRoot + 'fenxiao/myfenxiaoshang/fenxiaoshanglevel', //我的下级分销商(√) 
  Myfenxiaoshangmingxi: WxApiRoot + 'fenxiao/myfenxiaoshang/myfenxiaoshangmingxi', //我的下级分销商明细(√) 
  Fenxiaotuiguang: WxApiRoot + 'fenxiao/fenxiaotuiguang/info', //推广整站(√) 
  Fenxiaotuiguangshangpin: WxApiRoot + 'fenxiao/fenxiaotuiguang/shangpin', //推广商品(√) 

  //我的
  FengxiangyouliList: WxApiRoot + 'fenxiang/fenxianghuodong/list', //分享有礼列表(√)
  FengxiangHuodongLingqu: WxApiRoot + 'fenxiang/fenxianghuodong/lingqu', //分享有礼领取(√)
  //消息推送
  Ordermessage: WxApiRoot + 'wechat/ordermessage', //下订单支付成功后消息推送(√)
};